<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>404</title>
    <style>
        @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700;900&display=swap");
        :root{
            --primary-color:#f9b23c;
            --primary-color-dark:#f49a20;
            --text-dark:#333333;
            --text-light:#767268;
            --extra-light:#ffffff;
        }
        *{
            padding: 0;
            margin: 0;
            box-sizing: border-box;
        }
        body{
            height: 100vh;
            padding-top: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--extra-light);
            font-family: 'Roboto',sans-serif;
        }
        nav{
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 400px;
            padding: 2rem;
        }
        nav .nav_logo a{
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--text-dark);
            text-decoration: none;
        }
        .container{
            max-width: 400px;
            padding: 2rem;
            margin: auto;
            display: grid;
            color: var(--text-dark);
        }
        .header{
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }
        .header h1{
            font-size: 4rem;
            font-weight: 900;
        }
        .container h3{
            font-size: 2rem;
            font-weight: 900;
        }
        .container img{
            width: 100%;
            max-width: 300px;
            margin: auto;
        }
        .footer{
            display: grid;
            gap: 2rem;
            place-content: baseline;
        }
        .footer p{
            font-variation-settings: 1rem;
        }
        .footer button{
            padding: 1rem;
            outline: none;
            border: none;
            border-radius: 5px;
            color: var(--extra-light);
            font-size: 1rem;
            font-weight: 600;
            background-color: var(--primary-color);
            cursor: pointer;
            transition: .3s;
        }
        .footer button:hover{
            background-color: var(--primary-color-dark);
        }
        @media (min-width:640px) {
            nav{
                max-width: 1000px;
            }
            .container{
                max-width: 1200px;
                grid-template-columns: repeat(2,1fr);
                gap: 2rem;
            }
            .container img{
                max-width: 550px;
                grid-area: 1/1/3/2;
            }
            .footer{
                max-width: 300px;
            }
        }
        @media (min-width:1024px) {
            .container{
                gap: 5rem;
            }
            .header h1{
                font-size: 6rem;
            }
            .footer h3{
                font-size: 2.5rem;
            }
        }
    </style>
</head>
<body>
    <nav>
        <div class="nav_logo"><a href="#">Web Design Mastery</a></div>
    </nav>
    <div class="container">
        <div class="header">
            <h1>404</h1>
            <h3>Page Not Found!</h3>
        </div>
        <img src="https://picsum.photos/1920/1080?1" alt="">
        <div class="footer">
            <p>
                We're sorry,the page you requested could not be found.Please go back to the homepage!
            </p>
            <button>GO HOME</button>
        </div>
    </div>
</body>
</html>